﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace space_scavenger
{
    abstract class Projectile : Entity
    {
        private Entity owner;

        public Entity Owner
        {
            get
            {
                return owner;
            }
            set
            {
                owner = value;
            }
        }

        public abstract int Damage { get; set; }

        Projectile(Entity owner, Vector2 position, Vector2 velocity, Texture2D texture, Rectangle rect)
            : base(position,velocity,rect,texture)
        {
            Owner = owner;
        }


    }
}
